Parameter
|
Description
|
http_host
|
REST API http server listen host or IP address.
Default: localhost
|
http_port
|
REST API http server listen port.
Default: 18680
|
http_workers_ini
|
REST API http server initial number of workers. Increase this number for better performance.
Default: 10
|
http_workers_max
|
REST API http server maximum number of workers. Increase this number for better performance.
Default: 20
|
http_socket_timeout
|
REST API http server socket timeout in seconds.
Default: 10
|
http_response_timeout
|
REST API http server response timeout in seconds.
Default: 600
|
http_ssl_enabled
|
Enables REST API http server response using HTTPS.
Default: false
Values: false, true
|
http_ssl_keystore_file
|
Keystore file is used when response using HTTPS is enabled.
File location is: <prizm-install>/bin/
Default: proxyserver_ssc.jks
|
http_ssl_keystore_pass
|
Password for keystore file.
Default: password
|
proxy_host
|
Proxy server document converter listen host or IP address.
|
Do not change this value.
|
Default: localhost
|
proxy_port
|
Proxy server document converter listen port.
|
Do not change this value.
|
Default: 18580
|
odc_installation
|
Linux
/opt/libreoffice4.2
Windows
../lop/App/libreoffice
|
solution_name
|
Prizm Service solution name. The value is set by the installer script.
|
license_key
|
Prizm Service license key. The value is set by the installer script.
|
license_licensee
|
Proxy Server license licensee.
|
Do not change this value.
|
Default: ADEPTOL LLC
|
license_dev_application
|
Proxy Server license developer application.
|
Do not change this value.
|
Default: Adeptol
|
work_directory
|
Directory that contains proxy workers' user profiles and temporary files.
Default: %ALLUSERSPROFILE%/Accusoft/Prizm/work
|
odc_worker_host
|
Office Document Converter workers' base host or IP address.
|
Do not change this value.
|
Default: localhost
|
odc_worker_port
|
Office Document Converter workers' base port.
|
Do not change this value.
|
Default: 18691
|
odc_instances
|
Number of Office Document Converter instances (workers) to be started with Prizm Service. Each worker listens on dc_base_host:[odc_base_port+instance_number], where instance_number = {1, .., (odc_instances)}.
Increase this number for better performance, but consider that each worker requires at least 150 MB RAM.
Default: 2
|
odc_startup_delay
|
Number of seconds to wait for a worker instance to start.
Default: 60
|
odc_usage_count
|
Number of 'uses' after which worker instance will be restarted.
Default: 10
|
odc_usage_count_rand
|
Random attribute for usage count to avoid load peaks after certain point of time.
Default: 5
|
sleeping_delay
|
Number of seconds after which the Prizm Proxy Server service should put worker in 'sleeping mode' before it will be assigned another task (helps garbage collector).
Default: 2
|
startup_delay
|
Number of seconds the Prizm Proxy Server service should wait before it will start another task.
Default: 1
|
shutdown_delay
|
Number of seconds the Prizm Proxy Server service should wait for the shutdown of a worker thread.
Default: 1
|
worker_timeout
|
Number of seconds the Prizm Proxy Server service should wait for the timeout of a worker thread.
Default: 600
|
restart_jvm_when_irresponsive
|
Triggers JVM restart sequence on the irresponsive worker thread if the value is true.
Default: true
Values: true, false
|
It is recommended to not change the default value of this parameter, which is set to automatically restart the proxy-server along with JVM when it is fully loaded and JVM is not responding. |
|
log_level
|
Sets log level.
Default: INFO
Values:
- NONE - shows no output at all
- ERROR - shows only errors and fatal errors
- INFO - shows information messages
- WARNING - shows warnings
- DEBUG - shows debugging information (very verbose!)
|
jvm_daily_restart
|
JVM daily restart schedule (24H format); trigger time is delimited by comma. An empty value means no automatic restart. It is recommended to schedule at least one JVM restart daily, as it helps the memory garbage collector.
Default: 06:00
|
task_loop_wait
|
Number of seconds to wait for another conversion loop when an unrecoverable error has occurred in task.
Default: 15
|
task_loop_retry_max
|
Number of maximum retries for task to repeat when an unrecoverable error has occurred.
Default: 5
|
image_memory_limit
|
Image conversion memory limit.
Default: blank (no value)
|
image_map_limit
|
Image conversion memory map limit.
Default: 1 GB
|
image_disk_limit
|
Image conversion memory map limit. Increase this value if you are converting large images.
Default: 20GB
|
image_temp_path
|
Image conversion temporary path. When value is blank, the value specified in work_directory will be used.
Default: blank (no value)
|
wmic_tool
|
Path to WMIC tool.
Default: %SystemRoot%/system32/wbem/wmic.exe
|
excel_pagination |
When set to true, breaks down Excel/Calc spreadsheets to a number of pages so that each page is readable. This option mimics the default behavior of LibreOffice when exporting the document to PDF. When set to false, it keeps the old behavior of using one page per spreadsheet.
Default: false
Values: true, false
|
msoconvert
|
Enables MSOffice conversion tool used for special conversion purposes.
Default: false
Values: true, false
|
msoconvert_timeout
|
Timeout for MSOffice conversion tool in seconds.
Default: 50
|
optimize
|
Specifies the optimization level (0, 1, 2). Each optimization level uses a different rendering algorithm for SWF and adds more compression.
Value
|
Compression Level
|
0
|
No compression for text and images. Render everything the same as in the source document. Shapes will be converted to shapes, text to text and bitmaps to bitmaps.
|
1
|
Text inside SWF is preserved from the original document, so it can be searched in the Flash viewer. Everything else is converted to images. Images are compressed using JPEG compression.
|
2
|
All text, shapes, and images are converted into single image SWF; therefore it cannot be searched in the Flash viewer. Only links are preserved. Use this option when 0 or 1 fails to convert the document to SWF in case of very complex source documents, such as PDFs containing many shapes.
|
The value of this parameter changes the default setting of optimize parameter of the ProxyWebServices.
Default: 1
Values: 0, 1, 2
|
ignore_swf_errors
|
When set to 1, the errors and warnings from SWF conversion are ignored; only the resulting SWF is checked for existence and that its size is greater than 0.
Default: 1
Values: 0, 1
|
embed_swf_fonts
|
When set to 1, the fonts are embedded into SWF.
Default: 1
Values: 0, 1
|
fidelity
|
|
This parameter has been deprecated and will be removed from the API in a future release.
|
Used for MS Office DocX fidelity preprocessing.
Default: high
Values:
- high - pre-processing
- normal - no pre-processing
|
xls_fidelity
|
Used for MS Office XlsX fidelity preprocessing.
Default: low
Values:
- high - pre-processing
- normal - no pre-processing
|
single_file
|
Single file parameter, for recognizing % character in filename. When false, then % sign in filename means automatic page numbering.
Default: true
Values: true, false
|
tiff_conversion
|
Tiff image conversion mode.
Default: 1
Values:
- 1 - page-by-page
- 0 - all pages in one step
|
embed_pdf_fonts
|
Used for PDF Font embedding.
Default: 1
Values:
- 0 - none
- 1 - full
- 2 - used glyphs only (subset)
|
use_pdf_counter
|
When true, MS Office document is converted to PDF and pages are counted based on PDF resulting from the conversion. This setting improves total pages accuracy.
Default: true
Values: true, false
|
use_swf_cache
|
When true, SWF files are not generated but reused. Works only with enterprise mode.
Default: true
Values: true, false
|
fontcache_directory |
Directory name denoting the storage location for database of the fonts (font-cache) installed on the server. The directory is located under Prizm service work_directory.
Default: fontcache
|
fontcache_bootstrap_doc |
Name of the file that is used when Prizm service generates font-cache information.
It is not recommended to change this value by an administrator.
Default: fontcache_bootstrap.pdf
|
fontcache_bootstrap_timeout |
Maximum interval (in seconds) for Prizm service to wait until the font-cache is initialized.
It is not recommended to change this value by an administrator.
Default: 240
|
svg_converter |
Path to application that is used for converting PDF files into SVG format (SVG-converter). The location can be either absolute or relative to <prizm-install>/bin/
Default: ..modules/poppler/pdftocairo.exe
|
svg_conv_max_timeout |
Number of seconds the Prizm service should wait for the timeout of a SVG-converter to finish the conversion in a thread.
Default: 300
|
textcache_directory |
Directory name denoting the storage location for JSON text extracted data. The directory is located under Prizm service work_directory.
Default: textcache
|